package com.example.zuulgatewayapp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy//开启zuul
//路由默认的是根据名字+请求来访问其他服务
public class ZuulGatewayAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulGatewayAppApplication.class, args);
    }

}
